import {ITouchEvent, View} from '@tarojs/components'
export const AutoIcon: React.FC<{onClick?: (e: ITouchEvent) => void}> = ({
  onClick
}): JSX.Element => {
  return (
    <View
      className="w-24 h-24 rounded-full border-1 border-solid border-primary flex justify-center items-center"
      onClick={e => {
        onClick && onClick(e)
      }}
    >
      <View className="w-0 h-0 border-solid border-8 rounded-4 border-t-transparent border-r-transparent border-l-transparent border-b-primary transform rotate-90 translate-x-5"></View>
    </View>
  )
}
